package com.situ.orderingsystem.service;

import com.situ.orderingsystem.dao.impl.FoodDaoImpl;
import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.model.Food;
import com.situ.orderingsystem.model.FoodSearchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface FoodService {
    List<Food> findAll(FoodSearchBean eb, PaginateInfo pi);
    List<Food> findAll();
    List<Food> comboList();
    int deleteByIds(Integer[] ids);
    boolean save(Food food);

    Food searchById(Integer id);
    boolean update(Food food);
}
